package main

import (
	"art-man-sys/appconfig"
	"art-man-sys/cache"
	"art-man-sys/models"
	"art-man-sys/router"
)

func main() {
	//加载配置
	appconfig.Init()
	//连接数据库
	models.Init()
	//连接Redis
	cache.Init()
	//运行框架
	r := router.Router()
	r.Run(":8000")
}
